package com.itheima.myextends.继承案例_09;

public class Demo01 {
    public static void main(String[] args) {
        //1.无参构建学生对象
        Student stu = new Student();
        stu.setSid("heima001");
        stu.setName("王翰");
        stu.setAge("35");
        stu.setBirthday("1985-11-12");
        stu.setScore(68);
        stu.show();


        //2.带参构建学生对象
        Student stu1 = new Student("hema002","成昆","54","1987-11-25",88);
        stu1.show();
    }
}
